import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          title: const Text("你好flutter"),
        ),
        body: const MyApp(),
      ),
    ),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.center,
      child: Column(
        children: [
          ElevatedButton.icon(
            onPressed: () {},
            icon: const Icon(
              Icons.send,
              color: Colors.white,
            ),
            label: const Text('发送'),
          ),
          TextButton.icon(
            onPressed: () {},
            icon: const Icon(Icons.delete, color: Colors.red),
            label: const Text("删除"),
          ),
          OutlinedButton.icon(
            onPressed: () {},
            icon: const Icon(Icons.cancel, color: Colors.green),
            label: const Text("取消"),
          ),
        ],
      ),
    );
  }
}
